<template>
	<text @click="pickgasp">gasp-</text>
	<text>{{vulgar}}</text>
	<ds />
</template>

<script setup>
	//详情页
	import { ref } from "vue"
	//需要登陆
	import { onLoad } from '@dcloudio/uni-app'
	const data = ['stumble','discrete','disturbance']
	let vulgar = ref("")
	onLoad((res)=>{
		vulgar.value = data[res.index]	
	})
	
	// 动态绑定央视
	import ds from '@/pages/trail/dynamicStyle.vue'
	
	// 底部弹出操作菜单
	const pickgasp = () => {
		uni.showActionSheet({
			title:'请选择水果',
			itemList: ['苹果', '香蕉', '大鸭梨'],
			success: function (res) {
				console.info(res)
				console.log('选中了第' + (res.tapIndex + 1) + '个按钮');
			},
			fail: function (res) {
				console.log(res.errMsg);
			}
		});
	}
</script>

<style>
</style>